package com.ty.test2;

import com.ty.mvc.ResponseBody;
import com.ty.mvc.ResponseView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author 田野
 */
public class XxxController {
    @ResponseBody("/test1.do")
    public String test1(HttpServletRequest request, HttpServletResponse response) {
        return "Xxx";
    }

    @ResponseBody("/test2")
    public String test2(HttpServletRequest request, HttpServletResponse response) {
        return "Xxx";
    }

    @ResponseView("/test3.do")
    public String test3(HttpServletRequest request, HttpServletResponse response) {
        return "index.jsp";
    }


}
